package com.desire.controller;

import com.desire.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LittleDesire
 * @description
 * @date 2022-04-27 周三 19:31
 * @since 17
 */
@RestController
public class OrderController {
    @Autowired
    OrderService orderService;

    @RequestMapping
    public String query() {
        orderService.query();
        return "查询订单";
    }
}
